home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
elevationGridTest.wrl
< prev
next >
Wrap
Text File
|
2000-06-17
|
2KB
|
115 lines
#VRML V2.0 utf8
Transform {
children [
Shape {
appearance Appearance {
material Material { diffuseColor 1 1 1}
texture ImageTexture {
url "images/moddunk/prop_generic.gif"
}
}
geometry ElevationGrid {
xDimension 5
zDimension 10
xSpacing 25
zSpacing 10
height [
10 0 0 30 30
10 0 0 30 30
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
5 0 0 10 10
10 0 0 10 20
20 0 0 10 20
40 0 0 10 20
]
}
}
]
}
Transform {
translation 100 0 0
children [
Shape {
appearance Appearance {
material Material { diffuseColor 1 1 1}
}
geometry ElevationGrid {
xDimension 5
zDimension 10
xSpacing 25
zSpacing 10
height [
10 0 0 30 30
10 0 0 30 30
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
5 0 0 10 10
10 0 0 10 20
20 0 0 10 20
40 0 0 10 20
]
colorPerVertex FALSE
color Color { color [
1 0 0, 1 1 0, 0 1 1, 1 0 1,
1 1 0, 0 1 1, 1 0 1, 1 0 0,
0 1 1, 1 0 1, 1 0 0, 1 1 0,
1 0 1, 1 0 0, 1 1 0, 0 1 1,
1 0 0, 1 1 0, 0 1 1, 1 0 1,
1 1 0, 0 1 1, 1 0 1, 1 0 0,
0 1 1, 1 0 1, 1 0 0, 1 1 0,
1 0 1, 1 0 0, 1 1 0, 0 1 1,
1 0 0, 1 1 0, 0 1 1, 1 0 1,
]
}
}
}
]
}
Transform {
translation 0 0 100
children [
Shape {
appearance Appearance {
material Material { diffuseColor 1 1 1}
}
geometry ElevationGrid {
xDimension 5
zDimension 10
xSpacing 25
zSpacing 10
height [
10 0 0 30 30
10 0 0 30 30
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
5 0 0 10 10
10 0 0 10 20
20 0 0 10 20
40 0 0 10 20
]
colorPerVertex TRUE
color Color { color [
1 0 0, 1 1 0, 0 1 1, 1 0 1, 0 0 1,
1 1 0, 0 1 1, 1 0 1, 0 0 1, 1 0 0,
0 1 1, 1 0 1, 0 0 1, 1 0 0, 1 1 0,
1 0 1, 0 0 1, 1 0 0, 1 1 0, 0 1 1,
0 0 1, 1 0 0, 1 1 0, 0 1 1, 1 0 1,
1 0 0, 1 1 0, 0 1 1, 1 0 1, 0 0 1,
1 1 0, 0 1 1, 1 0 1, 0 0 1, 1 0 0,
0 1 1, 1 0 1, 0 0 1, 1 0 0, 1 1 0,
1 0 1, 0 0 1, 1 0 0, 1 1 0, 0 1 1,
0 0 1, 1 0 0, 1 1 0, 0 1 1, 1 0 1,
]
}
}
}
]
}